import request from '@/utils/request';

// 获取用户信息
export function getUserInfo() {
    request({
        url: '/h5/member/info',
        method: 'GET',
        custom: {
            showLoading: false
        },
    })
}

// 退出登录
export function apiLogout(data) {
    request({
        url: '/user/api/user/logout',
        method: 'POST',
        data
    })
}